package com.webservice.xmloper.filterLogResult;

import java.sql.Timestamp;
import java.util.ArrayList;
import java.util.List;

import com.thoughtworks.xstream.annotations.XStreamAlias;
import com.thoughtworks.xstream.annotations.XStreamConverter;
import com.thoughtworks.xstream.annotations.XStreamImplicit;
import com.webservice.command.utils.TimeStampConvertor;

@XStreamAlias("filterResult")
public class FilterLogResult {
	private String idcId;
	@XStreamImplicit
	private List<FilterLog> logs = new ArrayList<FilterLog>();
	
	@XStreamConverter(TimeStampConvertor.class)
	private Timestamp timeStamp;
	
	public void addLog(FilterLog log){
		logs.add(log);
	}
	public String getIdcId() {
		return idcId;
	}
	public void setIdcId(String idcId) {
		this.idcId = idcId;
	}
	public List<FilterLog> getLogs() {
		return logs;
	}
	public void setLogs(List<FilterLog> logs) {
		this.logs = logs;
	}
	public Timestamp getTimeStamp() {
		return timeStamp;
	}
	public void setTimeStamp(Timestamp timeStamp) {
		this.timeStamp = timeStamp;
	}
}
